package cn.edu.neusoft.amicooldemo.service;

import java.util.List;

import cn.edu.neusoft.amicooldemo.bean.LoginBean;
import cn.edu.neusoft.amicooldemo.bean.TcaseBean;
import cn.edu.neusoft.amicooldemo.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface UserService {
	//@FormUrlEncoded
	@GET("api.php/login")
    Call<LoginBean> login(@Query("username") String username,
						  @Query("password") String password);

	@GET("api.php/reg")
	Call<String> register(@Query("username") String username,
						  @Query("password") String password,@Query("tel") String tel);
}
